    package netty.in.action.callback;
      
    public interface FetcherCallback {  
        void onData(Data data) throws Exception;  
        void onError(Throwable cause);  
    }  